﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="HYJF_SLXT.aspx.vb" Inherits="Slxt.HYJF_SLXT" %>
<%@ Register TagPrefix="cnt" Namespace="Mysoft.Map.Application.Controls" Assembly="Mysoft.Map.Application.Components" %>
<%@ Register TagPrefix="mnu" Namespace="Mysoft.Map.Application.Menus" Assembly="Mysoft.Map.Application.Components" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head runat="server">   
     <title>无标题页</title>
     <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
     <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
     <meta content="JavaScript" name="vs_defaultClientScript">
     <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
     <LINK href="/_common/styles/global.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="/_controls/settings.aspx"></script>
		<LINK href="/_nav/tabs.css" type="text/css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
		<link rel="stylesheet" type="text/css" href="/_nav/menu.css">
		<link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
		<link rel="stylesheet" type="text/css" href="/_controls/find/find.css">
		<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
		<script language="javascript" src="/_common/scripts/global.js"></script>
		<script language="javascript" src="/_nav/menu.js"></script>
		<script language="javascript" src="/_controls/settings.aspx"></script>
		<script language="javascript" src="/_controls/util/util.js"></script>
		<script language="javascript" src="/_controls/datetime/date.js"></script>
		<script language="javascript" src="/_controls/number/number.js"></script>
		<script language="javascript" src="/Slxt/js/Public.js"></script>
		<script language="javascript" src="/PubProject/Activity/Activity.js"></script>
		<script language="javascript" src="/Hyxt/js/Public.js"></script>
			
		<script language="javascript">
			var sFuncID = "";
			var toBgJfWin;
			function window.onload()
			{
			   toBgJfWin=parent.dialogArguments;
				//获取上级窗口中的Funcid
				if (document.all("__funcid"))
				{
					sFuncID = document.all("__funcid").value;
				}
			} 		
			
			// 打开修改窗口
			//
			function openModiWin()
			{
				var arrTr = appGrid.frameElement.getSelected();
				
				if (!arrTr) return;
				var oid = arrTr[0].oid;
				var templet = arrTr[0].Templet;
				
				var mode="2";
				if (arrTr[0].jzdate!="") 
				{
					mode = "3";
				}
				
				toBgJfWin.OpenPointDetail(mode,templet,oid,"","","",sFuncID,window); 
	
			}

			// 打开删除窗口
			//
			function openDelWin()
			{
				// 选中行对象数组
				//
				var arrTr = appGrid.frameElement.getSelected();
				if (!arrTr) return;
				
				// 记录oid数组
				// 将作为参数传递给删除页面
				//
				var arrId = new Array(arrTr.length);
				for (var i = 0; i < arrTr.length; i++)
				{
				   if(arrTr[i].jzdate!="")
				   {
				      alert("不能删除已结转的记录！");
				      return;
				   }
					arrId[i] = arrTr[i].oid;
				}
				
				if (confirm("确实要删除选中的记录吗？") == false) return;				
				
				var sFile = "/Hyxt/HYGL/Hyzl_Pub_XMLHTTP.aspx?PointGUID=" + arrId.join(",") ;
							
				var sRtn = openXMLHTTP(sFile,"DEL_POINT");
				
				if (sRtn == "OK")
				{
					//刷新积分列表
					appGrid.frameElement.Query();
				}
				else
				{
					if (sRtn == "FAIL")
					{
						alert("你选择积分已结转或不存在！");
						return;
					}
					else
					{
						alert("系统异常，请重新登录再试！");
						return;
					}
				}
			}
			function  Ok()
			{
			   parent.window.returnValue="continue";
			   parent.window.close();			
			}
			
			function refreshWin()
			{
			  appGrid.frameElement.Query();
			}			
			</script>
</head>
<body>
    <table style="FONT-SIZE: 9pt" height="100%" cellSpacing="0" cellPadding="0" width="100%">	
    <colgroup>
							<col width="15">
							<col >
							<col width="15">
						</colgroup>			
			<tr height="1">
				<td colspan =3>
					<TABLE style="TABLE-LAYOUT: fixed; VERTICAL-ALIGN: text-top" height="50" cellSpacing="0"
						cellPadding="0" width="100%">
						<colgroup>
							<col width="15">
							<col width="50">
							<col>
						</colgroup>									
						<tr height="10">
							<td colspan="3"></td>
						</tr>						
						<tr height="23">
							<td></td>
							<td colspan="2">&nbsp;1、请针对该交易已赠送的购房积分，确认是否调整，并进行后续操作。</td>
						</tr>
						<tr height="23">
							<td></td>
							<td colspan="2">&nbsp;2、点击“继续”按钮，进行实际变更操作。</td>
						</tr>
						<tr height="23">
							<td></td>
							<td colspan="2">&nbsp;3、点击“取消”按钮，进行取消变更操作。</td>
						</tr>
						<tr height="10">
							<td colspan="3"></td>
						</tr>									
					</TABLE>
				</td>
			</tr>
			<tr height="1" width="100%">				
				<td></td>
				<td>
					<mnu:AppGridMenu id="appGridMenu" runat="server" />
				</td>
				<td></td>
			</tr>
			<tr>
			  <td></td>
				<td >
				
					<cnt:AppGrid id="appGrid" runat="server" MultiSelect="true" Filter="<filter />" PageSize="10"
						AllowPaging="False" />
				</td>
				<td></td>
			</tr>
			<tr height="40">
					<td class="buttons" colspan =3>
						<button onclick="Ok()" id="btnOk" type="button" style ="width:45 ">继续</button>&nbsp;&nbsp; <button onclick="parent.window.close();" type="button"  style ="width:45 ">
							取 消</button>
					</td>
				</tr>
		</table>
		<asp:Literal id="ltrScript" runat="server"></asp:Literal>
</body>
</html>
